﻿<html>
	<script>
	function debugObj(obj) {
		var s = "";
		for (k in obj) {
			s += k + "=" + obj[k] + "\n";
		}
		alert(s);
	}
</script>
	<head>
		<link rel="stylesheet" type="text/css"
			href="ext/resources/css/ext-all.css" />
		<script type="text/javascript" src="ext/adapter/ext/ext-base.js"></script>
		<script type="text/javascript" src="ext/ext-all.js"></script>
		<link rel="stylesheet" type="text/css" href="ext-portal/portal.css" />
		<script language="javascript" src="trimpath/template.js"></script>
		<script language="javascript" src="record.js"></script>
		<script language="javascript">

</script>
		<title>jst_porxy</title>
	</head>
	<body>
		<script language="javascript">
function getParameter(param){
var query = window.location.search;
var iLen = param.length;
var iStart = query.indexOf(param);
if (iStart == -1)
　return "";
iStart += iLen + 1;
var iEnd = query.indexOf("&", iStart);
if (iEnd == -1)
　return query.substring(iStart);
return query.substring(iStart, iEnd);
} 
alert(getParameter('aa'));
var oo = eval("(" + getParameter("Urlcontent") + ")");
	document.write("<textarea id=\"cart_jst\" style=\"display:none;\">"+getParameter("channel_template")+"</textarea>")
	document.write("<div id=\"outputdiv\" </div>");
	var myTemplateObj = TrimPath.parseDOMTemplate("cart_jst");
	var result3 = myTemplateObj.process(oo);
	document.getElementById("outputdiv").innerHTML =result3;
</script>
	</body>
</html>